Skip to content

Keys: Remove appdirs and improve typing#904

Merged
zxzxwu merged 1 commit intogoogle:mainfrom
zxzxwu:keys
Apr 9, 2026
Merged

Keys: Remove appdirs and improve typing#904
zxzxwu merged 1 commit intogoogle:mainfrom
zxzxwu:keys

Conversation

@zxzxwu
Copy link
Copy Markdown
Collaborator

@zxzxwu zxzxwu commented Mar 31, 2026

Forked from #897. We are already using platformdirs. It's very similar to appdirs while appdirs is already deprecated, so we can just keep one.

@zxzxwu zxzxwu requested a review from barbibulle March 31, 2026 08:13
requires-python = ">=3.10"
dependencies = [
"aiohttp ~= 3.8; platform_system!='Emscripten'",
"appdirs >= 1.4; platform_system!='Emscripten'",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be replaced with platformdirs, because if we don't mark it as a dependency, most users won't have it by default.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have it below at line#31

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, yes, sorry I missed that.

requires-python = ">=3.10"
dependencies = [
"aiohttp ~= 3.8; platform_system!='Emscripten'",
"appdirs >= 1.4; platform_system!='Emscripten'",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, yes, sorry I missed that.

@zxzxwu zxzxwu merged commit b6125bd into google:main Apr 9, 2026
55 checks passed
@zxzxwu zxzxwu deleted the keys branch April 9, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants